#include <semaphore.h>
#include <pthread.h>

#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#define RX_BASE        0x2000000
#define UDP_SEND_PORT  8501

#define UDP_SEND_IP   "192.168.100.6"
#define UDP_BROAD_IP   "192.168.100.255"
#define UDP_MULTI_GROUP "230.2.15.1"

extern sem_t mutex;
extern int *tx_Recv;
extern int *bit_buf[384];

int udpSend();
void RecvTest();
